package com.hksj.ecm.mapper;

import com.hksj.ecm.dto.EnergyTrendAnalysisDTO;
import com.hksj.ecm.vo.EnergyTrendConsumptionVO;
import com.hksj.ecm.vo.EnergyTrendDeviceVO;
import com.hksj.tdengine.taos.annatation.DS_TAOS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zengke
 * @version 1.0
 * @see EnergyTrendAnalysisMapper
 * @since 2024/08/16 17:40
 */

@Mapper
public interface EnergyTrendAnalysisMapper {

    List<EnergyTrendDeviceVO> queryDeviceList(@Param("energyTrendAnalysisDTO") EnergyTrendAnalysisDTO energyTrendAnalysisDTO);

    @DS_TAOS
    List<EnergyTrendConsumptionVO> queryDeviceEnergyList(@Param("stableName") String stableName, @Param("energyTrendAnalysisDTO") EnergyTrendAnalysisDTO energyTrendAnalysisDTO);

}
